package com.daylightrobbery.server.packet.login;

import com.daylightrobbery.server.packet.type.DataPacket;
import org.springframework.stereotype.Component;

@Component
public class SignUpRespPacket implements DataPacket {

    public int type = 10006;
    public int code;
    public String msg;

    public static final int SUCCESS = 0;
    public static final int FAILED = 1;

    @Override
    public DataPacket process() {
        return this;
    }

    @Override
    public int getType() {
        return type;
    }
}
